AMDF ( average magnitude difference function ), ASMDF ( Average Squared Mean Difference Function ), and other similar autocorrelation algorithms work this way.
2.
AMDF ( average magnitude difference function ), ASMDF ( Average Squared Mean Difference Function ), and other similar autocorrelation algorithms work this way.
3.
In particular, the difference function 1-f does not preserve triangle inequality, and is not therefore a proper distance metric, whereas 1-T _ s is.
4.
Fixed-width signed integers may overflow when they are subtracted, floating-point numbers have the value NaN with undefined sign, and character strings have no difference function corresponding to their total order.